﻿using System;

namespace CommandExecutor
{
	public class RemoteException : Exception
	{
		String remoteStackTrace;
		
		public RemoteException(String msg, String remoteStackTrace) : base(msg)
		{
			this.remoteStackTrace = remoteStackTrace;
		}
		
		public String RemoteStackTrace
		{
			get { return remoteStackTrace; }
		}
	}
	
    public class Command
    {
        public String CommandName { get; set; }
        public String Parameter { get; set; }

    }
    
    public class ResultCommand
    {
    	public bool Success {get;set;}
    	public String Result {get;set;}
    	public string ErrorMessage {get;set;}
    	public String ErrorStackTrace {get;set;}
    }
}
